package com.business.bean.admin;

import lombok.Getter;
import lombok.Setter;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * @author fengjian E-mail: 9110530@qq.com
 * @version 创建时间：2015年6月16日 下午8:21:49 类说明 ：字典数据类
 */
@Table(name = "AD_DIC", description = "字典数据信息表")
public class DicBean {

	@Setter
	@Getter
	@Column(pk = true, type = Type.定长文本, description = "主键编号", canNull = false, size = 32, policy = "UUID")
	private String dicID = null;

	@Setter
	@Getter
	@Column(type = Type.变长文本, description = "名称", size = 150)
	private String tableName = null;

	@Setter
	@Getter
	@Column(type = Type.变长文本, description = "说明", size = 150)
	private String tableTitle = null;

	@Setter
	@Getter
	@Column(name = "valueID", type = Type.变长文本, description = "键", size = 150)
	private String id = null;

	@Setter
	@Getter
	@Column(name = "valueText", type = Type.变长文本, description = "值", size = 150)
	private String text = null;

	@Setter
	@Getter
	@Column(type = Type.数字整型, description = "排序")
	private int sequence = 0;

}
